﻿@model shop.ThuongHieu

@{
    ViewBag.Title = "Create";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

@using (Html.BeginForm()) {
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)

        <div class="editor-label">
           Tên Thương Hiệu
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ThuongHieu1)
            @Html.ValidationMessageFor(model => model.ThuongHieu1)
        </div>

        <div class="editor-label">
           Mã Thương Hiệu
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.MaTH)
            @Html.ValidationMessageFor(model => model.MaTH)
        </div>
        <div class="editor-label">
          Id con
        </div>
        <div class="editor-field">
           @Html.Action("ThuongHieuCha","Partial")
            @Html.ValidationMessageFor(model => model.IdCon)
        </div>

        <div class="editor-label">
           Vi tri
        </div>
        <div class="editor-field">
            <select name="Vitri">
                <option value="">Không vị trí</option>
                 <option value="1">Vị trí 1</option>
                <option value="2">Vị trí 2</option>
            </select>
            @Html.ValidationMessageFor(model => model.Vitri)
        </div>

        <div class="editor-label">
           Cha
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Cha)
            @Html.ValidationMessageFor(model => model.Cha)
        </div>

        <p>
            <input type="submit" value="Thêm" />
        </p>
    
}